<div ng-controller="registrationPage" class="div">
    <link rel="stylesheet" href="../css/registrationPage.css">
    <form name="form" class="css-form" novalidate>
        <p>用 户名<input class="enterText textMargin"   type="text" ng-model="name" ></p>
        <p>邮   箱<input class="enterText" type="text"  type="email" ng-model="email"></p>
        <p>密   码<input class="enterText" type="password"  ng-model="password"></p>
        <p>确认密码<input class="enterText" type="password"  ng-model="confirmPassword">
            <a  class="error" ng-model="value" ng-if="value==false">*密码错误,请重试!</a>
        </p>
        <button class="buttonStyle" ng-click="saveUser(name,email,password,confirmPassword,value)">提交</button>
    </form>
</div>